/*********************************************************************
	Rhapsody	: 7.5 
	Login		: KBE
	Component	: DefaultComponent 
	Configuration 	: CodeConfig
	Model Element	: Log
//!	Generated Date	: Wed, 26, Sep 2012  
	File Path	: DefaultComponent\CodeConfig\Log.h
*********************************************************************/

#ifndef Log_H
#define Log_H

//#[ ignore
#ifdef _MSC_VER
// disable Microsoft compiler warning (debug information truncated)
#pragma warning(disable: 4786)
#endif
//#]

//## auto_generated
#include <oxf\oxf.h>
//## auto_generated
#include <string>
//## auto_generated
#include <algorithm>
//## auto_generated
#include "SOCK_WrapperFacade.h"
//## auto_generated
#include "Default.h"
//## class Log
#include "ServiceHandler.h"
//## auto_generated
class LF_EventHandler;

//## auto_generated
class Reactor;

//## package Default

//## class Log
class Log : public ServiceHandler {
    ////    Friends    ////
    
    ////    Constructors and destructors    ////
    
public :

    //## auto_generated
    Log();
    
    //## auto_generated
    virtual ~Log();
    
    ////    Operations    ////
    
    //## operation handleEvent(HANDLE,Event_Type)
    virtual void handleEvent(HANDLE h, Event_Type& et);
    
    ////    Additional operations    ////

protected :

    //## auto_generated
    char getBuffer_(int i1) const;
    
    //## auto_generated
    void setBuffer_(int i1, char p_buffer_);
    
    ////    Attributes    ////

private :

    char buffer_[500];		//## attribute buffer_

public :

    //## operation Log(Reactor*)
    Log(Reactor* reactor);

private :

    //## operation LogAction()
    void LogAction();

public :

    //## operation saveLog(char*)
    void saveLog(char* log);
};

#endif
/*********************************************************************
	File Path	: DefaultComponent\CodeConfig\Log.h
*********************************************************************/
